home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
351-375
/
370
/
sksh
/
view.magic
< prev
next >
Wrap
Text File
|
1995-03-14
|
2KB
|
47 lines
# This is a magic file for "view". The first section define the types...
zoo archive:OFFSET:20:dca7c4fd
arc archive:OFFSET:0:1a08
# next line may not be right for early versions of lharc
LHarc archive:OFFSET:2:2d6c68..2d
compressed:OFFSET:0:1f9d
IFF ilbm file:OFFSET:0:464f524d........494c424d
IFF text file:OFFSET:0:464f524d........46545854
IFF anim file:OFFSET:0:464f524d........414e494d
GIF bitmap:OFFSET:0:474946
AmigaDos executable:OFFSET:0:000003f300000000
AmigaDos icon:OFFSET:0:e3100001
AmigaDos icon:OFFSET:0:f34c0012
c source code:WORDS:8:include ,define ,/*,*/,int ,char ,long ,short ,for(,for (, else ,printf(,printf (
english text:WORDS:25: the , if , then , is , are , or , and , when , to , that
680x0 assembly:WORDS:8: equ, XREF, mov., beq., sub., add., clr., tst., jsr , movm., link., bra., rts , jmp , cmp.
include file:SUFFIX::.h
object file:SUFFIX::.o
text file:SUFFIX::.txt
manual entry:SUFFIX::.MAN
emacs backup file:SUFFIX::~
copyist music file:SUFFIX::.ME
#next line doesn't work in this version of view
directory:DIRECTORY::
ascii text:CHARS::0c,0d,0a,20-7e
binary data:CHARS::00-ff
# this section defines the actions for each type
zoo archive:ACTION::sys:usr/bin/zoo -list %s
arc archive:ACTION::sys:usr/bin/arc -v %s
LHarc archive:ACTION::sys:usr/bin/lharc v %s
directory:ACTION::
binary data:ACTION::sys:usr/local/bin/xd %s
IFF ilbm file:ACTION::sys:usr/contrib/bin/mostra QUIET DOUBLEBUFFERING %s
IFF text file:ACTION::run excellence!:excellence! %s
IFF anim file:ACTION::sys:usr/contrib/bin/showanim -C %s
GIF bitmap:ACTION::sys:usr/contrib/bin/hamgif %s
AmigaDos executable:ACTION::sys:usr/local/bin/xd %s
AmigaDos icon:ACTION::c:echo "%s: Can't view icon."
compressed:ACTION::c:echo "%s: Can't view compressed file."
# if we haven't figured out how to deal with it by now, just more it
all:DEFAULT::c:more %s